<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <?php
        $a=(int)50/10;
        $x="<img src='images/haha.jpg'>";
        switch ($a) {
            case 10:
                echo "{$x}{$x}{$x}{$x}{$x}";
                break;
             case 9:
                echo "{$x}{$x}{$x}{$x}";
                break;
             case 8:
                echo "{$x}{$x}{$x}}";
                break;
             case 7:
                echo "{$x}{$x}}";
                break;
             case 6:
                echo "{$x}";
                break;
                        default :
                echo"<img src='images/cry.jpg'>";
                break;
            

        }
// put your code here
        ?>
    </body>
</html>
